//import angular core
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpModule } from '@angular/http';
import { FormsModule }    from '@angular/forms';

//import my modules
import { AppRoutingModule } from './app-routing.module';

import { IndexModule } from './index/index.module';
import { OrderFoodModule } from './order-food/order-food.module';
import { ManageHotelModule } from './manage-hotel/manage-hotel.module';
import { ManageRoomModule } from './manage-room/manage-room.module';
import { ProfileModule } from './profile/profile.module';
import { CoreModule } from './core/core.module';

//import my components
import { AppComponent } from './app.component';
import { NavbarComponent } from './navbar/navbar.component';
import { SignInComponent } from './sign-in/sign-in.component';
import { SignUpComponent } from './sign-up/sign-up.component';

@NgModule({
  declarations: [
    AppComponent,
    NavbarComponent,
    SignInComponent,
    SignUpComponent
  ],
  imports: [
    BrowserModule,
    HttpModule,
    FormsModule,
    AppRoutingModule,
    IndexModule,
    OrderFoodModule,
    ManageHotelModule,
    ManageRoomModule,
    ProfileModule,
    CoreModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
